package com.naiterui.ehp.bs.b2c.order.repository;

import java.util.List;
import java.util.Set;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.b2c.order.entity.RefundOrder;

@Repository
public interface IRefundOrderRepository extends BaseJpaRepository<RefundOrder, Long> {

    List<RefundOrder> findByIdInAndDelFlag(Set<Long> ids, Integer delFlag);

    RefundOrder findByRefundOrderSn(String refundOrderSn);

    List<RefundOrder> findByOrderIdAndStatusAndDelFlag(Long id, Integer status, Integer delFlag);
}
